#ifndef _WINDOW_H
#define _WINDOW_H

#include "shape.h"

class Window
{
public:
	Window(int width, int height);
	
	static void KeyboardEvent(unsigned char key, int x, int y);
	static void MouseMoveEvent(int x, int y);
	static void MousePushEvent(int button, int state, int x, int y);
	static void ResizeEvent(int width, int height);
	
	static void GlutRendering();
	static void GlutIdle();

	GLuint GenerateCity();

private:
	static int window;
	
	static float yaw;
	static float pitch;
	static float zoom;

	static int camX;
	static int camY;
	static int camZ;

	static int light;
	static int rotate;
	
	static int mouseKey;
	static int mouseX;
	static int mouseY;
	
	static float time;
	static float angle;
	
	static GLuint list;
};

#endif // _WINDOW_H
